package com.one.service.impl;

import com.one.mapper.NoticeMapper;
import com.one.pojo.Notice;
import com.one.service.NoticeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description
 * @Author semstouch
 * @Date 2017/4/7
 **/
@Service
public class NoticeServiceImpl implements NoticeService{
    @Resource
    private NoticeMapper noticeMapper;
    @Override
    public List<Notice> findAll() {
        return noticeMapper.selectAllNotice();
    }

    @Override
    public boolean add(Notice notice) {
        return false;
    }
}
